@charset "utf-8";
@import './theme.css';

/* ----------layout 布局结构----------*/
.layout {
  background: #f2f7fa;
  width: 100%;
  min-width: 1300px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
}
.layout-content {
  width: 100%;
  min-width: 1300px;
  min-height: 200px;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: auto;
  background: #ffffff;
  flex: 1;
  flex-basis: auto;
  display: flex;
}
.layout-content .el-container {
  min-height: 100%;
}
.layout-content .menuWidthMini {
  width: 64px !important;
  transition: width 0.3s;
}
.layout-content .menuWidthSmall {
  width: 208px !important;
  transition: width 0.3s;
}
.layout-content .menuWidthLarge {
  width: 13% !important;
  transition: width 0.3s;
  box-sizing: border-box;
}
.layout-content .contentWidthMini {
  width: 100% !important;
  padding-left: 64px;
  transition: width 0.3s;
  box-sizing: border-box;
}
.layout-content .contentWidthSmall {
  width: 100% !important;
  padding-left: 220px;
  transition: width 0.3s;
  box-sizing: border-box;
}
.layout-content .contentWidthLarge {
  width: 87% !important;
  transition: width 0.3s;
}
.layout-content .el-aside {
  overflow: initial;
  display: block;
  border-right: 1px solid var(--base-border-color);
}
.layout-content .el-main {
  padding: 0;
  display: block;
}
.layout-content-main {
  position: relative;
  background: #ffffff;
  padding: 0;
  min-height: 100%;
  overflow: hidden;
}
.layout-content-main > * {
  padding: 0 15px 10px 15px;
}
.layout-content-list {
  padding-bottom: 40px;
}
.layout-content-main .pagination-fix {
  position: absolute;
  left: 6px;
  bottom: 0;
  padding: 4px;
}
.layout-footer {
  flex: 0;
  text-align: center;
  height: 20px;
  line-height: 20px;
  padding: 5px 0;
  color: #99a9bf;
}

/* ---------------layout end----------------*/

/* ---------------头部 nav-------------------*/
.header-wrap {
  /* position: fixed; */
  /* flex-shrink: 0; */
  top: 0;
  z-index: 1999;
  width: auto;
  min-width: 100%;
  height: 50px;
  margin: auto;
  /* 头部背景色 */
  background: var(--header-wrap-bg);
  flex: 0 0 auto;
}
/* @media screen and (max-width: 1300px) {
    .header-wrap {
        position: absolute;
    }
} */
.header-content {
  width: 100%;
  min-width: 1300px;
  margin: 0 auto;
}
.header-content .logo {
  display: block;
  line-height: 50px;
  height: 50px;
}
.header-content .logo img {
  width: auto;
  height: 40px;
  margin-left: 20px;
  cursor: pointer;
  vertical-align: middle;
}
.header-content .logo .logo-title {
  color: #ffffff;
  font-size: 18px;
  padding-left: 24px;
}
.header-content .searchinput {
  width: 250px;
  margin-top: 10px;
  margin-left: 30px;
}
.header-content .el-menu {
  /* nav背景色 */
  background-color: var(--header-wrap-bg);
  margin-right: 20px;
}
.header-content .el-menu-item {
  padding: 0;
  height: 50px;
  line-height: 50px;
  color: var(--nav-item-fontcolor);
}
.header-content .el-menu--horizontal > .el-menu-item:not(.is-disabled):hover {
  /* nav item hover色 */
  background-color: var(--nav-item-hoverbg) !important;
  color: var(--nav-item-hovercolor);
}
.header-content .el-menu--horizontal > .el-menu-item.is-active {
  /* nav item 选中色 */
  background-color: var(--nav-item-activebg);
  color: var(--nav-item-activecolor);
  border-bottom: 3px solid var(--base-color);
}
.header-content .el-menu-item a {
  display: block;
  padding: 0 20px;
}
.header-content .el-menu-item a:hover {
  text-decoration: none;
}
.header-content .header-nav-menu {
  float: left;
}
.header-content .header-shortcut-panel {
  width: auto;
  float: right;
}
.header-content .header-shortcut-panel > li {
  float: left;
  line-height: 50px;
  margin-left: 15px;
}
.header-content .menu-link {
  float: left;
  padding: 0;
  height: 50px;
  line-height: 50px;
  font-size: 14px;
  white-space: nowrap;
  list-style: none;
  box-sizing: border-box;
}
.header-content .menu-link a {
  display: block;
  /* padding: 0 20px; */
  padding: 0;
  color: #ffffff;
  transition: color 0.3s;
}
.header-content .menu-link a:hover {
  color: var(--base-color);
  text-decoration: none;
}
.header-content .heander-notice {
  line-height: 50px;
  height: 50px;
  padding: 0 5px;
}
.header-content .notice-dot {
  line-height: 1;
}
.header-content .heander-notice i {
  font-size: 24px;
  color: #ffffff;
  vertical-align: middle;
  cursor: pointer;
}
.header-content .header-setting {
  color: var(--nav-item-fontcolor);
  cursor: pointer;
}
.heander-notice-warp {
  width: 300px;
}
.heander-notice-warp .notice-item {
  padding: 6px;
}
.heander-notice-warp .notice-title {
  font-size: 14px;
  color: var(--body-font-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.heander-notice-warp .notice-desc {
  font-size: 13px;
  color: var(--base-gray-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.heander-notice-warp .no-notice {
  text-align: center;
  cursor: default;
}
.heander-notice-warp .notice-more {
  font-size: 12px;
  text-align: center;
  cursor: pointer;
  padding-top: 6px;
  border-top: 1px solid #ebeef5;
  color: var(--base-color);
  transition: color 0.3s;
}
.heander-notice-warp .notice-more:hover {
  color: var(--base-color);
}
.header-content .header-setting:hover {
  color: var(--base-color);
}

/* nav右侧公司部分 */
.header-content .avatar.el-menu--horizontal .el-submenu .el-submenu__title {
  border-bottom: none !important;
  height: 50px;
  line-height: 50px;
  color: var(--nav-item-fontcolor);
  padding-left: 0;
}
.header-content .avatar.el-menu--horizontal .el-submenu .el-submenu__title i {
  position: absolute;
  margin-top: -5px;
  right: 0;
}
.header-content .avatar.el-menu--horizontal .el-submenu .el-submenu__icon-arrow {
  color: var(--nav-item-fontcolor);
}
.header-content .avatar.el-menu--horizontal .el-submenu__title:hover {
  /* nav 右侧公司hover色 */
  background-color: var(--header-wrap-bg);
}
.header-content .company-name-menu {
  text-align: right;
  max-width: 250px;
}
.company-down-menu {
  min-width: 100px;
  max-width: 250px;
}
.header-menu-item {
  height: 36px;
  line-height: 36px;
  color: #48576a;
  cursor: pointer;
  text-align: left;
  padding-left: 20px;
  padding-right: 20px;
}
.header-menu-item:hover {
  /* nav 右侧公司 子菜单选项hover色 */
  background-color: #d1dbe5;
}
.header-content .company-logo {
  vertical-align: middle;
  margin-right: 6px;
  display: inline-block;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: url(../../img/company_logo.png) no-repeat center;
  background-size: 35px 35px;
}
.header-menu-item i.iconfont {
  font-size: 16px;
  vertical-align: middle;
  margin-right: 5px;
  width: 24px;
  text-align: center;
  display: inline-block;
}

/* ---------------nav end-------------------*/

/* ---------------左侧 menu------------------*/

/*设置选中侧栏  覆盖组件原本样式*/
.submenu .el-menu {
  background: #ffffff;
  border-right: none;
  overflow: hidden;
}
.layout-content {
  min-height: calc(100vh-80px);
}
.layout-content .leftMenuBtn {
  height: 30px;
  line-height: 30px;
  text-align: right;
}
.layout-content .leftMenuBtn.btn-zhankai {
  height: 30px;
  line-height: 30px;
  text-align: right;
  padding-right: 24px;
}
.layout-content .leftMenuBtn.btn-shouqi {
  height: 30px;
  line-height: 30px;
  text-align: center;
}
.layout-content .leftMenuBtn i {
  cursor: pointer;
  vertical-align: middle;
  transition: all 0.5s;
  color: var(--base-color);
}
.layout-content .leftMenuBtn i:hover {
  color: var(--base-red-color);
}
.submenu .el-menu .el-menu-item {
  height: 40px;
  line-height: 40px;
  transition: none;
  padding: 0 25px 0 45px;
  border-right: 1px solid transparent;
  border-left: 5px solid transparent;
  text-indent: -5px;
}
.submenu .el-menu .el-submenu__title {
  height: 40px;
  line-height: 40px;
  padding: 0 25px 0 45px;
  border-right: 1px solid transparent;
  border-left: 5px solid transparent;
  text-indent: -5px;
  background: #fbfcfd;
  padding-left: 15px !important;
}
.submenu .el-menu .el-submenu__icon-arrow {
  right: 28px;
  text-indent: 0;
  font-size: 14px;
}
.submenu .el-menu .el-submenu__title:hover {
  background-color: #fbfcfd;
}
.submenu .el-menu .el-menu-item .menucount {
  margin-top: 12px;
  line-height: 1;
  float: right;
}
.submenu .el-menu .el-menu-item:hover {
  /* 左侧菜单hove 文字颜色 */
  color: var(--base-color);
  background-color: #fbfcfd;
}
.submenu .el-menu .el-menu-item:focus {
  /* 左侧菜单focus背景色 */
  background-color: inherit;
}
.submenu .el-menu .el-menu-item:hover i {
  /* 左侧1级别菜单hover 图标颜色 */
  color: var(--base-color);
}

.submenu .el-menu .el-submenu__title:hover,
.submenu .el-menu .el-submenu__title:hover i,
.submenu .el-menu .el-submenu__title:hover .iconfont {
  /* 左侧1级别菜单hover 文字颜色 图标颜色 */
  color: var(--base-color);
}
.submenu .el-menu .is-active .el-submenu__title {
  background: #f2f7fa;
  /* 左侧1级别菜单选中文字颜色 和 左边框色 */
  border-left: 5px solid var(--base-color);
  color: var(--base-color);
}
.submenu .el-menu .el-submenu__title i.iconfont {
  /* 左侧菜单图标颜色 */
  color: var(--base-darkgray-color);
  text-indent: 0;
}
.submenu .el-menu .is-active .el-submenu__title i {
  /* 左侧菜单选中 图标颜色 下拉箭头颜色 */
  color: var(--base-color);
  text-indent: 0;
}
.submenu .el-menu .is-active.el-menu-item.parent-item {
  background: #f2f7fa;
  /* 左侧菜单选中文字颜色 和 左边框色 */
  border-left: 5px solid var(--base-color);
  color: var(--base-color);
}
.submenu .el-menu .submenu-icon {
  display: inline-block;
  margin-right: 5px;
  width: 24px;
  text-align: center;
  font-size: 18px;
  text-indent: 0;
  vertical-align: middle;
}
.submenu .el-menu .is-active.el-menu-item:after {
  display: block;
  content: '';
  position: absolute;
  top: 0px;
  right: -1px;
  width: 1px;
  height: 48px;
  background: #ffffff;
  z-index: 10;
}

/* ---------------menu end------------------*/
